package com.sefon.smarteconomy.domain.vo;

/**
 * 
* Copyright: Copyright (c) 2018 SefonSoft
* 
* @ClassName: ResponseObject.java
* @Description: 返回对象封装
*
* @version: v1.0.0
* @author: SF2170
* @date: 2018年3月22日上午2:22:34
*
 */
public class ResponseObject {

    /**
     * 返回状态
     */

    private int status;
    /**
     * 状态描述信息
     */
    private String message;
    /**
     * 返回数据
     */

    private Object data;

    public ResponseObject() {
    }

    public ResponseObject(int status, String message) {
        this.status = status;
        this.message = message;
    }

    public ResponseObject(int status, String message, Object data) {
        this.status = status;
        this.message = message;
        this.data = data;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "ResponseObject{" +
                "status=" + status +
                ", message='" + message + '\'' +
                ", data=" + data +
                '}';
    }
}
